package com.slz.crm.server.mapper;

import com.slz.crm.pojo.entity.PaymentRecordEntity;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Mapper
public interface PaymentRecordMapper extends BaseMapper<PaymentRecordEntity> {
    /**
     * 查询回款额度
     * @param reportStartTime 报表起始时间
     * @param reportEndTime 报表结束时间
     * @return 回款额度
     */
    BigDecimal selectTotalRemittanceAmount(LocalDateTime reportStartTime, LocalDateTime reportEndTime);


}
